package com.ljy.my_study.观察者;
/** 
* @author James
* @date 2018年8月28日 
*/
public class TestMain {
	public static void main(String[] args) {
		Publish publish=new Publish();
		Subscribe subscribe=new Subscribe(publish);
		publish.setData("123");
	}
}
